package com.yzw.phonestoreservice.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.yzw.phonestoreservice.pojo.PhoneSpecs;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Map;

/**
 * @BelongsProject: phonestoresys
 * @BelongsPackage: com.yzw.phonestoreservice.vo
 * @Author: yanhongwei
 * @CreateTime: 2022-11-07  14:47
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PhoneSpecsVo {

    /**
     *
     */
    @JsonProperty("id")
    @TableId(type = IdType.AUTO)
    private Integer specsId;

    /**
     * 规格名称
     */
    @JsonProperty("name")
    private String specsName;


    /**
     * 小图
     */

    @JsonProperty("imgUrl")
    private String specsIcon;

    /**
     * 预览图
     */
    @JsonProperty("previewImgUrl")
    private String specsPreview;

}
